GET PlanCare2Api/ClientReports/Templates?sectorIds[0]={sectorIds[0]}§orIds[1]={sectorIds[1]}
Gets templates of ClientReport
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sectorIds |
Filter by identifiers of sectors |
Collection of integer |
None |
Body Parameters
None.
Response Information
Resource Description
Returns list of ClientReportTemplateSummary
Collection of ClientReportTemplateSummary| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The id of the template. |
integer |
None |
| Name |
The name of the template. |
string |
None |
| SectorIds |
The identifiers of the sectors linked to the template. |
Collection of integer |
None |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Id": 1,
"Name": "sample string 2",
"SectorIds": [
1,
2
]
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfClientReportTemplateSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.ClientReport">
<ClientReportTemplateSummary>
<Id>1</Id>
<Name>sample string 2</Name>
<SectorIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:long>1</d3p1:long>
<d3p1:long>2</d3p1:long>
</SectorIds>
</ClientReportTemplateSummary>
<ClientReportTemplateSummary>
<Id>1</Id>
<Name>sample string 2</Name>
<SectorIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:long>1</d3p1:long>
<d3p1:long>2</d3p1:long>
</SectorIds>
</ClientReportTemplateSummary>
</ArrayOfClientReportTemplateSummary>